﻿var html = document.documentElement;
window.rem = html.getBoundingClientRect().width / 750 *100;
html.style.fontSize = window.rem + 'px';
window.addEventListener('resize', function () {
			var html = document.documentElement;
			window.rem = html.getBoundingClientRect().width / 750 *100;
			html.style.fontSize = window.rem + 'px';
})
